<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath %>" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>郎坤物联网物流管理系统-仓库信息</title>
<meta name="kewywords" content="郎坤物联网物流管理系统"/>
<meta name="description" content="郎坤物联网物流管理系统"/>
<link href="css/style.css" type="text/css" rel="stylesheet"/>
<script language="javascript" type="text/javascript" src="js/js.js"></script>
<script type="text/javascript" src="js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="js/LocalList.js"></script>	
</head>
<body>
<%@include file="top.jsp" %>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="187" height="37" bgcolor="#e0e0e0" class="brt bbt"><div class="topleft fl">系统菜单栏</div></td>
    <td bgcolor="#e7e7e7" class=" bbt"><div class="topleft fl">您现在的位置：<a href="#">首页</a>&nbsp;>&nbsp;<span>出库</span></div></td>
  </tr>
  <tr>
    <td width="187" height="100%" valign="top" bgcolor="#FFFFFF" class="brt">
    	<div class="left_bk"> 
         <ul>
           <div class="menu2">
         <%@include file="repertory_left.jsp" %>
        
        </div></td>
    <td align="left" valign="top" bgcolor="#FFFFFF" > 
    <div class="content">
      <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="38" style="background:url(images/zz_tit.jpg) left top repeat-x;">
          <div class="tt_back fl">出库</div>
          <div class="fr"><img src="images/tit_right.jpg" alt="" width="103" height="38" /></div>
          </td>
        </tr>
        <tr>
          <td class="borders btn" align="center">
          <table width="99%" border="0" cellspacing="1" cellpadding="0" bgcolor="#e3e3e3">
          <tr class="captitle">
            <td height="31" colspan="6"  valign="middle" style="padding-left: 20px;font-weight: bold;">
                        当前仓库
            </td>
            </tr>
          <tr height="26" bgcolor="#efefef" class="captit">
            <td width="10%" height="26" align="center" valign="middle" bgcolor="#FFFFFF">仓库编号</td>
            <td width="15%" height="26" align="center" valign="middle" bgcolor="#FFFFFF">仓库名称</td>
            <td width="10%" height="26" align="center" valign="middle" bgcolor="#FFFFFF">仓库类型</td>
            <td width="35%" height="26" align="center" valign="middle" bgcolor="#FFFFFF">仓库所在位置</td>
            <td width="10%" height="26" align="center" valign="middle" bgcolor="#FFFFFF">仓库管理员</td>
            <td width="20%" height="26" align="center" valign="middle" bgcolor="#FFFFFF">备注信息</td>
          </tr>
          <s:iterator value="warehouseList" id="item">
          	<tr height="26" bgcolor="#efefef">
          		<td align="center" valign="middle"><s:property value="#item.id"/></td>
          		<td align="center" valign="middle"><s:property value="#item.warehouse"/></td>
          		<td align="center" valign="middle"><s:property value="#item.waretype"/></td>
          		<td align="center" valign="middle"><s:property value="#item.whlocation"/></td>
          		<td align="center" valign="middle"><s:property value="#item.whkeeper"/></td>
          		<td align="center" valign="middle"><s:property value="#item.remark"/></td>
          	</tr>
          </s:iterator>
          <tr class="captitle">
            <td height="31" colspan="10" valign="middle" style="padding-left: 20px;font-weight: bold;">
                   出库订单
            </td>
            </tr>
        </table>
          <table width="100%" border="0" cellspacing="0" cellpadding="0">          
		  <tr>
		    <td align="center">
		    <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
		      <tr>
		        <td colspan="2">
		        <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#e3e3e3">
		          <tr class="captit">		          	
		            <td width="10%" height="31" align="center" valign="middle">订单号</td>
		            <td width="8%" height="31" align="center" valign="middle">寄件人姓名</td>
		            <td width="8%" height="31" align="center" valign="middle">寄件人电话</td>
		            <td width="14%" height="31" align="center" valign="middle">寄件人地址</td>
		            <td width="8%" height="31" align="center" valign="middle">收件人姓名</td>
		            <td width="8%" height="31" align="center" valign="middle">收件人电话</td>
		            <td width="14%" height="31" align="center" valign="middle">收件人地址</td>
		            <td width="8%" height="31" align="center" valign="middle">寄件日期</td>
		            <td width="9%" height="31" align="center" valign="middle">入库时间</td>
		            <td width="9%" height="31" align="center" valign="middle">出库时间</td>
		            <td width="4%" height="31" align="center" valign="middle"></td>
		          </tr>
		   		<s:iterator value="stockOutOrderList" id="list" >
		          <tr height="26" bgcolor="#efefef">
		            <td height="26" align="center" valign="middle" bgcolor="#FFFFFF">
		            <s:property value="#list.id"/></td>
		            <td height="26" align="center" valign="middle" bgcolor="#FFFFFF">
		            <s:property value="#list.sender"/></td>
		            <td height="26" align="center" valign="middle" bgcolor="#FFFFFF">
		            <s:property value="#list.senderTel"/></td>
		            <td height="26" align="center" valign="middle" bgcolor="#FFFFFF">
		            <s:property value="#list.senderAddr"/></td>
		            <td height="26" align="center" valign="middle" bgcolor="#FFFFFF">
		            <s:property value="#list.recipient"/></td>
		            <td height="26" align="center" valign="middle" bgcolor="#FFFFFF">
		            <s:property value="#list.recipientTel"/></td>
		            <td height="26" align="center" valign="middle" bgcolor="#FFFFFF">
		            <s:property value="#list.recipientAddr"/></td>
		            <td height="26" align="center" valign="middle" bgcolor="#FFFFFF" class="wordblue">
		            <s:property value="#list.sendDate"/></td>		            
		            <td height="26" align="center" valign="middle" bgcolor="#FFFFFF" class="wordblue">
		             <s:property value="#list.intime"/></td>
		             <td height="26" align="center" valign="middle" bgcolor="#FFFFFF"  class="wordblue">
		            	<s:set name="outtime" value="#list.outtime"/>
						<s:if test="#outtime == null"></s:if>
						<s:else>${list.outtime}</s:else>
		            </td>
		            <td height="26" align="center" valign="middle" bgcolor="#FFFFFF" class="wordblue">
		            <s:set name="stockout" value="#list.stockout"/>
		            <s:if test="#stockout==0">
		            	<a href="repertory/stockout.action?orderid=${list.id}">出库</a>
		            </s:if>
		            <s:elseif test="#stockout==2">
		            	已出库
		            </s:elseif>
		            </td>
		          </tr>
		          </s:iterator>
		        </table>
		        </td>
		      </tr>
		      <tr>
		        <td width="30%" height="50">  </td>
		        <td width="70%"></td>
		      </tr>
		    </table>
		    </td>
		  </tr>
		</table>
		</td>
        </tr>
      </table>
    </div></td>
  </tr>
</table>
<div class="bottom">版权所有：安徽朗坤物联网</div>
</body>
</html>